﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Runtime.InteropServices;

namespace RTUParameterConfig.Class
{
	public class StructData
	{
		/// <summary>
		/// Rtu设备配置协议结构体(数据部分)
		/// </summary>
		[StructLayoutAttribute(LayoutKind.Sequential, Pack = 1 , CharSet = CharSet.Ansi)]
		public struct RtuConfigInfo
		{
			#region 基本配置
			/// <summary>
			/// 遥测站类型
			/// </summary>
			public byte StationType;

			/// <summary>
			/// 遥测站编码,采用BCD格式存储
			/// </summary>
			[MarshalAs(UnmanagedType.ByValArray, SizeConst = 5)]
			public byte[] StationNo;

			/// <summary>
			/// 遥测站名称
			/// </summary>
			[MarshalAs(UnmanagedType.ByValArray, SizeConst = 62)]
			public byte[] StationName;

			/// <summary>
			/// 加报周期 1-240分钟	
			/// </summary>
			public byte ReportingCycle;

			/// <summary>
			/// 采集周期 1-60分钟（数据存储周期为实际数据间隔）
			/// </summary>
			public byte DataSaveCycel;

            /// <summary>
            /// 预热时间 1-255秒
            /// </summary>
            public byte PreheatTime;

            /// <summary>
            /// 链路维持报周期,心跳包 时间10-255S
            /// </summary>
            public byte HeartbeatCycel;

			/// <summary>
			/// 工作模式 0:低功耗模式, 1:常在线模式
			/// </summary>
			public byte WorkMode;

			/// <summary>
			/// 定时报周期0-24, 0：关闭
			/// </summary>
			public byte TimingReport;

			/// <summary>
			/// 是否开启小时报，0:关闭，1:开启
			/// </summary>
			public byte HourReport;

			/// <summary>
			/// 增项开关 0:关闭，1:开启
			/// </summary>
			public byte AlarmCount;

			/// <summary>
			/// 是否开启自动校时，0:关闭，1:开启
			/// </summary>
			public byte AutoTiming;
			#endregion

			#region 以太网配置
			/// <summary>
			/// 是否开启以太网，0:关闭，1:开启
			/// </summary>
			public byte EthernetStatus;

			/// <summary>
			/// 是否开启自动DHCP，0:关闭，1:开启
			/// </summary>
			public byte EthernetDHCP;

			/// <summary>
			/// IP地址
			/// </summary>
			[MarshalAs(UnmanagedType.ByValArray, SizeConst = 4)]
			public byte[] EthernetIP;

			/// <summary>
			/// 网关
			/// </summary>
			[MarshalAs(UnmanagedType.ByValArray, SizeConst = 4)]
			public byte[] EthernetGateway;

			/// <summary>
			/// 子网掩码
			/// </summary>
			[MarshalAs(UnmanagedType.ByValArray, SizeConst = 4)]
			public byte[] EthernetNetmask;

			/// <summary>
			/// 主DNS
			/// </summary>
			[MarshalAs(UnmanagedType.ByValArray, SizeConst = 4)]
			public byte[] EthernetDNS;

			/// <summary>
			/// 备用DNS
			/// </summary>
			[MarshalAs(UnmanagedType.ByValArray, SizeConst = 4)]
			public byte[] EthernetBackupDNS;

			/// <summary>
			/// 强制重连
			/// </summary>
			public byte EthernetResetTime;
			#endregion

			#region 中心站配置
			/// <summary>
			/// 中心站1IP地址
			/// </summary>
			[MarshalAs(UnmanagedType.ByValArray, SizeConst = 4)]
			public byte[] CentralStationIP1;

			/// <summary>
			/// 中心站2IP地址
			/// </summary>
			[MarshalAs(UnmanagedType.ByValArray, SizeConst = 4)]
			public byte[] CentralStationIP2;

			/// <summary>
			/// 中心站13IP地址
			/// </summary>
			[MarshalAs(UnmanagedType.ByValArray, SizeConst = 4)]
			public byte[] CentralStationIP3;

			/// <summary>
			/// 中心站4IP地址
			/// </summary>
			[MarshalAs(UnmanagedType.ByValArray, SizeConst = 4)]
			public byte[] CentralStationIP4;
			/// <summary>
			/// 中心站远程后台服务器IP地址
			/// </summary>
			[MarshalAs(UnmanagedType.ByValArray, SizeConst = 4)]
			public byte[] CentralStationIP5;

			/// <summary>
			/// 中心站1端口
			/// </summary>
			[MarshalAs(UnmanagedType.ByValArray, SizeConst = 2)]
			public byte[] CentralStationPort1;

			/// <summary>
			/// 中心站2端口
			/// </summary>
			[MarshalAs(UnmanagedType.ByValArray, SizeConst = 2)]
			public byte[] CentralStationPort2;

			/// <summary>
			/// 中心站3端口
			/// </summary>
			[MarshalAs(UnmanagedType.ByValArray, SizeConst = 2)]
			public byte[] CentralStationPort3;

			/// <summary>
			/// 中心站4端口
			/// </summary>
			[MarshalAs(UnmanagedType.ByValArray, SizeConst = 2)]
			public byte[] CentralStationPort4;

			/// <summary>
			/// 中心站远程后台服务器端口
			/// </summary>
			[MarshalAs(UnmanagedType.ByValArray, SizeConst = 2)]
			public byte[] CentralStationPort5;

			/// <summary>
			/// 中心站1备用端口
			/// </summary>
			[MarshalAs(UnmanagedType.ByValArray, SizeConst = 2)]
			public byte[] CentralStationBackupPort1;

			/// <summary>
			/// 中心站2备用端口
			/// </summary>
			[MarshalAs(UnmanagedType.ByValArray, SizeConst = 2)]
			public byte[] CentralStationBackupPort2;

			/// <summary>
			/// 中心站3备用端口
			/// </summary>
			[MarshalAs(UnmanagedType.ByValArray, SizeConst = 2)]
			public byte[] CentralStationBackupPort3;

			/// <summary>
			/// 中心站4备用端口
			/// </summary>
			[MarshalAs(UnmanagedType.ByValArray, SizeConst = 2)]
			public byte[] CentralStationBackupPort4;

			/// <summary>
			/// 中心站1、2、3、4地址编码
			/// </summary>
			[MarshalAs(UnmanagedType.ByValArray, SizeConst = 4)]
			public byte[] CentralStationAddr;

			/// <summary>
			/// 中心站1密码
			/// </summary>
			[MarshalAs(UnmanagedType.ByValArray, SizeConst = 2)]
			public byte[] CentralStationPassward1;

			/// <summary>
			/// 中心站2密码
			/// </summary>
			[MarshalAs(UnmanagedType.ByValArray, SizeConst = 2)]
			public byte[] CentralStationPassward2;

			/// <summary>
			/// 中心站3密码
			/// </summary>
			[MarshalAs(UnmanagedType.ByValArray, SizeConst = 2)]
			public byte[] CentralStationPassward3;

			/// <summary>
			/// 中心站4密码
			/// </summary>
			[MarshalAs(UnmanagedType.ByValArray, SizeConst = 2)]
			public byte[] CentralStationPassward4;

			/// <summary>
			/// 中心站1电话号码，861开头13位
			/// </summary>
			[MarshalAs(UnmanagedType.ByValArray, SizeConst = 13)]
			public char[] CentralStationPhone1;

			/// <summary>
			/// 中心站2电话号码，861开头13位
			/// </summary>
			[MarshalAs(UnmanagedType.ByValArray, SizeConst = 13)]
			public char[] CentralStationPhone2;

			/// <summary>
			/// 中心站3电话号码，861开头13位
			/// </summary>
			[MarshalAs(UnmanagedType.ByValArray, SizeConst = 13)]
			public char[] CentralStationPhone3;

			/// <summary>
			/// 中心站1、2、3传输协议，0：TCP协议, 1：UDP协议
			/// </summary>
			[MarshalAs(UnmanagedType.ByValArray, SizeConst = 3)]
			public byte[] CentralStationTransportProtocol;

			/// <summary>
			/// 中心站1、2、3报文协议，0：水文SL651-2014, 1：Http Post, 2：定制协议
			/// </summary>
			[MarshalAs(UnmanagedType.ByValArray, SizeConst = 3)]
			public byte[] CentralStationReportProtocol;

			/// <summary>
			/// 中心站1、2、3硬件接口， 1：GPRS/3G/4G, 2：有线以太网, 3：RS485通道3透传
			/// </summary>
			[MarshalAs(UnmanagedType.ByValArray, SizeConst = 3)]
			public byte[] CentralStationHardwareInterface;

			/// <summary>
			/// 中心站VPN专网设置专网接入开关，0:关闭，1:开启
			/// </summary>
			public byte CentralStationVpnEnable;

			/// <summary>
			/// 中心站VPN专网设置接入点
			/// </summary>
			[MarshalAs(UnmanagedType.ByValArray, SizeConst = 16)]
			public char[] CentralStationVpnPoint;

			/// <summary>
			/// 中心站VPN专网设置用户名
			/// </summary>
			[MarshalAs(UnmanagedType.ByValArray, SizeConst = 16)]
			public char[] CentralStationVpnName;

			/// <summary>
			/// 中心站VPN专网设置密码
			/// </summary>
			[MarshalAs(UnmanagedType.ByValArray, SizeConst = 16)]
			public char[] CentralStationVpnPassword;

			/// <summary>
			/// 中心站远程后台服务器设置VPN开关，0:关闭，1:开启
			/// </summary>
			public byte CentralStationRemoteVpnEnable;
			#endregion

			#region 水位计相关配置
			/// <summary>
			/// 水位计开关状态
			/// </summary>
			public byte WaterLevel_Enable;

			/// <summary>
			/// 水位计设备选择
			/// </summary>
			[MarshalAs(UnmanagedType.ByValArray, SizeConst = 2)]
			public byte[] WaterLevelDeviceSelect;

			/// <summary>
			/// 水位计地址
			/// </summary>
			[MarshalAs(UnmanagedType.ByValArray, SizeConst = 2)]
			public byte[] WaterLevel_Addr;

			/// <summary>
			/// 水位计1安装高度
			/// </summary>
			[MarshalAs(UnmanagedType.ByValArray, SizeConst = 4)]
			public byte[] WaterLevelHight1;

			/// <summary>
			/// 水位计2安装高度
			/// </summary>
			[MarshalAs(UnmanagedType.ByValArray, SizeConst = 4)]
			public byte[] WaterLevelHight2;

			/// <summary>
			/// 水位计1基准水位,有符号,单位mm
			/// </summary>
			[MarshalAs(UnmanagedType.ByValArray, SizeConst = 4)]
			public byte[] WaterBaseLevel1;

			/// <summary>
			/// 水位计2基准水位,有符号,单位mm
			/// </summary>
			[MarshalAs(UnmanagedType.ByValArray, SizeConst = 4)]
			public byte[] WaterBaseLevel2;

			/// <summary>
			/// 水位计1水位偏差,有符号,单位mm
			/// </summary>
			[MarshalAs(UnmanagedType.ByValArray, SizeConst = 4)]
			public byte[] WaterCorrectionLevel1;

			/// <summary>
			/// 水位计2水位偏差,有符号,单位mm
			/// </summary>
			[MarshalAs(UnmanagedType.ByValArray, SizeConst = 4)]
			public byte[] WaterCorrectionLevel2;

			/// <summary>
			/// 水位计1水位系数，4位小数点
			/// </summary>
			[MarshalAs(UnmanagedType.ByValArray, SizeConst = 4)]
			public byte[] WaterCorrParame1;

			/// <summary>
			/// 水位计2水位系数，4位小数点
			/// </summary>
			[MarshalAs(UnmanagedType.ByValArray, SizeConst = 4)]
			public byte[] WaterCorrParame2;

			/// <summary>
			/// 水位计1高报警水位,单位cm
			/// </summary>
			[MarshalAs(UnmanagedType.ByValArray, SizeConst = 4)]
			public byte[] WaterLevelHAlarm1;

			/// <summary>
			/// 水位计2高报警水位,单位cm
			/// </summary>
			[MarshalAs(UnmanagedType.ByValArray, SizeConst = 4)]
			public byte[] WaterLevelHAlarm2;

			/// <summary>
			/// 水位计1低报警水位,单位cm	
			/// </summary>
			[MarshalAs(UnmanagedType.ByValArray, SizeConst = 4)]
			public byte[] WaterLevelLAlarm1;

			/// <summary>
			/// 水位计2低报警水位,单位cm	
			/// </summary>
			[MarshalAs(UnmanagedType.ByValArray, SizeConst = 4)]
			public byte[] WaterLevelLAlarm2;

			/// <summary>
			/// 水位计1加报上阈值,单位cm
			/// </summary>
			[MarshalAs(UnmanagedType.ByValArray, SizeConst = 4)]
			public byte[] WaterLevelAlarmH1;

			/// <summary>
			/// 水位计2加报上阈值,单位cm
			/// </summary>
			[MarshalAs(UnmanagedType.ByValArray, SizeConst = 4)]
			public byte[] WaterLevelAlarmH2;

			/// <summary>
			/// 水位计1加报下阈值,单位cm
			/// </summary>
			[MarshalAs(UnmanagedType.ByValArray, SizeConst = 4)]
			public byte[] WaterLevelAlarmL1;

			/// <summary>
			/// 水位计2加报下阈值,单位cm
			/// </summary>
			[MarshalAs(UnmanagedType.ByValArray, SizeConst = 4)]
			public byte[] WaterLevelAlarmL2;

			/// <summary>
			/// 水位变幅加报
			/// </summary>
			[MarshalAs(UnmanagedType.ByValArray, SizeConst = 2)]
			public byte[] WaterLevelChangeAlarm;

			/// <summary>
			/// 滤波次数,用于水位计滤波设置,设置范围0-9次
			/// </summary>
			[MarshalAs(UnmanagedType.ByValArray, SizeConst = 2)]
			public byte[] WaterFilter;

			/// <summary>
			/// 滤波跳动范围设置,单位0.1m,设置范围0.1m~25.5m
			/// </summary>
			[MarshalAs(UnmanagedType.ByValArray, SizeConst = 2)]
			public byte[] WaterFilterParam;
			#endregion

			#region 流速仪相关配置
			/// <summary>
			/// 流速仪开关状态
			/// </summary>
			public byte CurrentSpeed_Enable;

			/// <summary>
			/// 流速仪设备选择
			/// </summary>
			[MarshalAs(UnmanagedType.ByValArray, SizeConst = 2)]
			public byte[] CurrentSpeedDeviceSelect;

			/// <summary>
			/// 流速仪地址
			/// </summary>
			[MarshalAs(UnmanagedType.ByValArray, SizeConst = 2)]
			public byte[] CurrentSpeed_Addr;

			/// <summary>
			/// 流速仪1流速偏差,有符号,单位mm
			/// </summary>
			[MarshalAs(UnmanagedType.ByValArray, SizeConst = 4)]
			public byte[] CurrentSpeedDeviation1;

			/// <summary>
			/// 流速仪2流速偏差,有符号,单位mm
			/// </summary>
			[MarshalAs(UnmanagedType.ByValArray, SizeConst = 4)]
			public byte[] CurrentSpeedDeviation2;

			/// <summary>
			/// 流速仪1流速系数，4位小数点
			/// </summary>
			[MarshalAs(UnmanagedType.ByValArray, SizeConst = 4)]
			public byte[] CurrentSpeedRatio1;

			/// <summary>
			/// 流速仪2流速系数，4位小数点
			/// </summary>
			[MarshalAs(UnmanagedType.ByValArray, SizeConst = 4)]
			public byte[] CurrentSpeedRatio2;
			#endregion

			#region 流量计相关配置
			/// <summary>
			/// 流量开关状态
			/// </summary>
			public byte WaterFlow_Enable;

			/// <summary>
			/// 流量计设备选择
			/// </summary>
			[MarshalAs(UnmanagedType.ByValArray, SizeConst = 2)]
			public byte[] WaterFlowDeviceSelect;

			/// <summary>
			/// 流量计1安装高度
			/// </summary>
			[MarshalAs(UnmanagedType.ByValArray, SizeConst = 4)]
			public byte[] WaterFlowHeight1;

			/// <summary>
			/// 流量计2安装高度
			/// </summary>
			[MarshalAs(UnmanagedType.ByValArray, SizeConst = 4)]
			public byte[] WaterFlowHeight2;

			/// <summary>
			/// 流量计地址
			/// </summary>
			[MarshalAs(UnmanagedType.ByValArray, SizeConst = 2)]
			public byte[] WaterFlow_Addr;

			/// <summary>
			/// 流量计1水位偏差,有符号,单位mm
			/// </summary>
			[MarshalAs(UnmanagedType.ByValArray, SizeConst = 4)]
			public byte[] WaterFlowWaterLevelDeviation1;

			/// <summary>
			/// 流量计2水位偏差,有符号,单位mm
			/// </summary>
			[MarshalAs(UnmanagedType.ByValArray, SizeConst = 4)]
			public byte[] WaterFlowWaterLevelDeviation2;

			/// <summary>
			/// 流量计1水位系数，4位小数点
			/// </summary>
			[MarshalAs(UnmanagedType.ByValArray, SizeConst = 4)]
			public byte[] WaterFlowWaterLevelRatio1;

			/// <summary>
			/// 流量计2水位系数，4位小数点
			/// </summary>
			[MarshalAs(UnmanagedType.ByValArray, SizeConst = 4)]
			public byte[] WaterFlowWaterLevelRatio2;

			/// <summary>
			/// 流量计1流速偏差,有符号,单位mm
			/// </summary>
			[MarshalAs(UnmanagedType.ByValArray, SizeConst = 4)]
			public byte[] WaterFlowCurrentSpeedDeviation1;

			/// <summary>
			/// 流量计2流速偏差,有符号,单位mm
			/// </summary>
			[MarshalAs(UnmanagedType.ByValArray, SizeConst = 4)]
			public byte[] WaterFlowCurrentSpeedDeviation2;

			/// <summary>
			/// 流量计1流速系数，4位小数点
			/// </summary>
			[MarshalAs(UnmanagedType.ByValArray, SizeConst = 4)]
			public byte[] WaterFlowCurrentSpeedRatio1;

			/// <summary>
			/// 流量计2流速系数，4位小数点
			/// </summary>
			[MarshalAs(UnmanagedType.ByValArray, SizeConst = 4)]
			public byte[] WaterFlowCurrentSpeedRatio2;
			#endregion

			#region 闸位计相关配置
			/// <summary>
			/// 闸位计开关状态
			/// </summary>
			public byte GatePosition_Enable;

			/// <summary>
			/// 闸位计设备选择
			/// </summary>
			[MarshalAs(UnmanagedType.ByValArray, SizeConst = 2)]
			public byte[] GatePositionDeviceSelect;

			/// <summary>
			/// 闸位计地址
			/// </summary>
			[MarshalAs(UnmanagedType.ByValArray, SizeConst = 2)]
			public byte[] GatePosition_Addr;

			/// <summary>
			/// 闸位计1调零
			/// </summary>
			[MarshalAs(UnmanagedType.ByValArray, SizeConst = 4)]
			public byte[] GatePositionZeroing1;

			/// <summary>
			/// 闸位计2调零
			/// </summary>
			[MarshalAs(UnmanagedType.ByValArray, SizeConst = 4)]
			public byte[] GatePositionZeroing2;

			/// <summary>
			///  增长方式  0:正向增长,1:反向增长
			/// </summary>
			[MarshalAs(UnmanagedType.ByValArray, SizeConst = 2)]
			public byte[] GatePositionDirection;
			#endregion

			#region 雨量计相关配置
			/// <summary>
			/// 雨量计开关状态
			/// </summary>
			public byte RainFall_Enable;

			/// <summary>
			/// 雨量计设备选择
			/// </summary>
			public byte RainFallDeviceSelect;

			/// <summary>
			/// 雨量计分辨率   0: 0.1mm, 1: 0.2mm, 2 : 0.5mm
			/// </summary>
			public byte RainResolutionRatio;

			/// <summary>
			/// 雨量计加报阈值
			/// </summary>
			public byte RainAlarm;

			/// <summary>
			/// 雨量计时段加报, 0:关闭，1:开启
			/// </summary>
			public byte RainTimeReport;

			/// <summary>
			/// 雨量计日雨量
			/// </summary>
			[MarshalAs(UnmanagedType.ByValArray, SizeConst = 4)]
			public byte[] DayRain;

			/// <summary>
			/// 雨量计累计雨量
			/// </summary>
			[MarshalAs(UnmanagedType.ByValArray, SizeConst = 4)]
			public byte[] TotalRain;
			#endregion

			#region 水质相关配置
			/// <summary>
			/// 水质开关状态,每个bit代表一个传感器开关
			/// </summary>
			[MarshalAs(UnmanagedType.ByValArray, SizeConst = 2)]
			public byte[] WaterQuality_Enable;

			/// <summary>
			/// 在线PH传感器通信地址
			/// </summary>
			public byte WaterQuality_PH_Addr;

			/// <summary>
			/// 在线溶解氧传感器通信地址
			/// </summary>
			public byte WaterQuality_Rjy_Addr;

			/// <summary>
			/// 在线电导率传感器通信地址
			/// </summary>
			public byte WaterQuality_Ddl_Addr;

			/// <summary>
			/// 在线浊度传感器(1000NTU)通信地址
			/// </summary>
			public byte WaterQuality_Zd1000_Addr;

			/// <summary>
			/// 在线浊度传感器(4000NTU)通信地址
			/// </summary>
			public byte WaterQuality_Zd4000_Addr;

			/// <summary>
			/// 在线COD传感器通信地址
			/// </summary>
			public byte WaterQuality_COD_Addr;

			/// <summary>
			/// 在线氨氮传感器通信地址
			/// </summary>
			public byte WaterQuality_Ad_Addr;

			/// <summary>
			/// 在线余氯传感器通信地址
			/// </summary>
			public byte WaterQuality_Yl_Addr;

			/// <summary>
			/// 在线多参数水质传感器通信地址
			/// </summary>
			public byte WaterQuality_Sz_Addr;

			#endregion
			 
			#region 相机相关配置
			/// <summary>
			/// 相机开关状态
			/// </summary>
			public byte Camera_Enable;

			/// <summary>
			/// 相机设备选择
			/// </summary>
			[MarshalAs(UnmanagedType.ByValArray, SizeConst = 2)]
			public byte[] CameraDeviceSelect;

			/// <summary>
			/// 相机通信地址
			/// </summary>
			[MarshalAs(UnmanagedType.ByValArray, SizeConst = 2)]
			public byte[] Camera_Addr;

			/// <summary>
			/// 相机数据叠加, 0:关闭，1:开启
			/// </summary>
			[MarshalAs(UnmanagedType.ByValArray, SizeConst = 2)]
			public byte[] Camera_Overlying;

			/// <summary>
			/// 相机1图片采集周期
			/// </summary>
			[MarshalAs(UnmanagedType.ByValArray, SizeConst = 2)]
			public byte[] Camera_AcquisitionCycle1;

			/// <summary>
			/// 相机2图片采集周期
			/// </summary>
			[MarshalAs(UnmanagedType.ByValArray, SizeConst = 2)]
			public byte[] Camera_AcquisitionCycle2;

			/// <summary>
			/// 相机图片采集时段 0:仅白天, 1:全天候
			/// </summary>
			[MarshalAs(UnmanagedType.ByValArray, SizeConst = 2)]
			public byte[] Camera_TimeInterval;

			/// <summary>
			/// 相机图片缓存模式, 0:关闭，1:开启
			/// </summary>
			[MarshalAs(UnmanagedType.ByValArray, SizeConst = 2)]
			public byte[] Camera_Cache;

			/// <summary>
			/// 相机图片报文响应, 0: M2模式每包带响应, 1: M3模式最后包响应
			/// </summary>
			[MarshalAs(UnmanagedType.ByValArray, SizeConst = 2)]
			public byte[] Camera_PicAck;

			/// <summary>
			/// 相机1加报上报时段,BIT0-BIT23对应0时-23时
			/// </summary>
			[MarshalAs(UnmanagedType.ByValArray, SizeConst = 3)]
			public byte[] Camera_Hours1;

			/// <summary>
			/// 相机2加报上报时段,BIT0-BIT23对应0时-23时
			/// </summary>
			[MarshalAs(UnmanagedType.ByValArray, SizeConst = 3)]
			public byte[] Camera_Hours2;
			#endregion

			#region 摄像头相关配置
			/// <summary>
			/// 摄像头开关状态
			/// </summary>
			public byte Video_Enable;

			/// <summary>
			/// 摄像头设备选择
			/// </summary>
			[MarshalAs(UnmanagedType.ByValArray, SizeConst = 2)]
			public byte[] VideoDeviceSelect;

			/// <summary>
			/// 摄像头视频叠加更新时间
			/// </summary>
			[MarshalAs(UnmanagedType.ByValArray, SizeConst = 2)]
			public byte[] VideoOverlayUpdateTime;

			/// <summary>
			/// 摄像头1IP
			/// </summary>
			[MarshalAs(UnmanagedType.ByValArray, SizeConst = 4)]
			public byte[] VideoIP1;

			/// <summary>
			/// 摄像头2IP
			/// </summary>
			[MarshalAs(UnmanagedType.ByValArray, SizeConst = 4)]
			public byte[] VideoIP2;

			/// <summary>
			/// 摄像头1端口
			/// </summary>
			[MarshalAs(UnmanagedType.ByValArray, SizeConst = 2)]
			public byte[] VideoPort1;

			/// <summary>
			/// 摄像头2端口
			/// </summary>
			[MarshalAs(UnmanagedType.ByValArray, SizeConst = 2)]
			public byte[] VideoPort2;

			/// <summary>
			/// 摄像头1用户名
			/// </summary>
			[MarshalAs(UnmanagedType.ByValArray, SizeConst = 20)]
			public char[] VideoUserName1;

			/// <summary>
			/// 摄像头2用户名
			/// </summary>
			[MarshalAs(UnmanagedType.ByValArray, SizeConst = 20)]
			public char[] VideoUserName2;

			/// <summary>
			/// 摄像头1密码
			/// </summary>
			[MarshalAs(UnmanagedType.ByValArray, SizeConst = 20)]
			public char[] VideoPassWord1;

			/// <summary>
			/// 摄像头2密码
			/// </summary>
			[MarshalAs(UnmanagedType.ByValArray, SizeConst = 20)]
			public char[] VideoPassWord2;

			/// <summary>
			/// 摄像头1自定义叠加内容 1
			/// </summary>
			[MarshalAs(UnmanagedType.ByValArray, SizeConst = 40)]
			public byte[] VideoOverlayName11;

			/// <summary>
			/// 摄像头1自定义叠加内容 2
			/// </summary>
			[MarshalAs(UnmanagedType.ByValArray, SizeConst = 40)]
			public byte[] VideoOverlayName12;

			/// <summary>
			/// 摄像头1自定义叠加内容 3
			/// </summary>
			[MarshalAs(UnmanagedType.ByValArray, SizeConst = 40)]
			public byte[] VideoOverlayName13;

			/// <summary>
			/// 摄像头1自定义叠加内容 4
			/// </summary>
			[MarshalAs(UnmanagedType.ByValArray, SizeConst = 40)]
			public byte[] VideoOverlayName14;

			/// <summary>
			/// 摄像头2自定义叠加内容 1
			/// </summary>
			[MarshalAs(UnmanagedType.ByValArray, SizeConst = 40)]
			public byte[] VideoOverlayName21;

			/// <summary>
			/// 摄像头2自定义叠加内容 2
			/// </summary>
			[MarshalAs(UnmanagedType.ByValArray, SizeConst = 40)]
			public byte[] VideoOverlayName22;

			/// <summary>
			/// 摄像头2自定义叠加内容 3
			/// </summary>
			[MarshalAs(UnmanagedType.ByValArray, SizeConst = 40)]
			public byte[] VideoOverlayName23;

			/// <summary>
			/// 摄像头2自定义叠加内容 4
			/// </summary>
			[MarshalAs(UnmanagedType.ByValArray, SizeConst = 40)]
			public byte[] VideoOverlayName24;

			/// <summary>
			/// 摄像头1叠加内容,  0:关闭 ,1:自定义,2:站点名称,3:水位1,4:水位2,5:瞬时流量1,6:瞬时流量2,7:总瞬时流量,8:小时流量1,9:小时流量2,10:设备温度,11:设备电压,12:采集时间,13:刷新时间
			/// </summary>
			[MarshalAs(UnmanagedType.ByValArray, SizeConst = 4)]
			public byte[] VideoContentSelection1;

			/// <summary>
			/// 摄像头2叠加内容,  0:关闭 ,1:自定义,2:站点名称,3:水位1,4:水位2,5:瞬时流量1,6:瞬时流量2,7:总瞬时流量,8:小时流量1,9:小时流量2,10:设备温度,11:设备电压,12:采集时间,13:刷新时间
			/// </summary>
			[MarshalAs(UnmanagedType.ByValArray, SizeConst = 4)]
			public byte[] VideoContentSelection2;

			/// <summary>
			/// 摄像头1叠加内容1X坐标
			/// </summary>
			[MarshalAs(UnmanagedType.ByValArray, SizeConst = 2)]
			public byte[] VideoContentCoordinate11_X;

			/// <summary>
			/// 摄像头1叠加内容1Y坐标
			/// </summary>
			[MarshalAs(UnmanagedType.ByValArray, SizeConst = 2)]
			public byte[] VideoContentCoordinate11_Y;

			/// <summary>
			/// 摄像头1叠加内容2X坐标
			/// </summary>
			[MarshalAs(UnmanagedType.ByValArray, SizeConst = 2)]
			public byte[] VideoContentCoordinate12_X;

			/// <summary>
			/// 摄像头1叠加内容2Y坐标
			/// </summary>
			[MarshalAs(UnmanagedType.ByValArray, SizeConst = 2)]
			public byte[] VideoContentCoordinate12_Y;

			/// <summary>
			/// 摄像头1叠加内容3X坐标
			/// </summary>
			[MarshalAs(UnmanagedType.ByValArray, SizeConst = 2)]
			public byte[] VideoContentCoordinate13_X;

			/// <summary>
			/// 摄像头1叠加内容3Y坐标
			/// </summary>
			[MarshalAs(UnmanagedType.ByValArray, SizeConst = 2)]
			public byte[] VideoContentCoordinate13_Y;

			/// <summary>
			/// 摄像头1叠加内容4X坐标
			/// </summary>
			[MarshalAs(UnmanagedType.ByValArray, SizeConst = 2)]
			public byte[] VideoContentCoordinate14_X;

			/// <summary>
			/// 摄像头1叠加内容4Y坐标
			/// </summary>
			[MarshalAs(UnmanagedType.ByValArray, SizeConst = 2)]
			public byte[] VideoContentCoordinate14_Y;

			/// <summary>
			/// 摄像头2叠加内容1X坐标
			/// </summary>
			[MarshalAs(UnmanagedType.ByValArray, SizeConst = 2)]
			public byte[] VideoContentCoordinate21_X;

			/// <summary>
			/// 摄像头2叠加内容1Y坐标
			/// </summary>
			[MarshalAs(UnmanagedType.ByValArray, SizeConst = 2)]
			public byte[] VideoContentCoordinate21_Y;

			/// <summary>
			/// 摄像头2叠加内容2X坐标
			/// </summary>
			[MarshalAs(UnmanagedType.ByValArray, SizeConst = 2)]
			public byte[] VideoContentCoordinate22_X;

			/// <summary>
			/// 摄像头2叠加内容2Y坐标
			/// </summary>
			[MarshalAs(UnmanagedType.ByValArray, SizeConst = 2)]
			public byte[] VideoContentCoordinate22_Y;

			/// <summary>
			/// 摄像头2叠加内容3X坐标
			/// </summary>
			[MarshalAs(UnmanagedType.ByValArray, SizeConst = 2)]
			public byte[] VideoContentCoordinate23_X;

			/// <summary>
			/// 摄像头2叠加内容3Y坐标
			/// </summary>
			[MarshalAs(UnmanagedType.ByValArray, SizeConst = 2)]
			public byte[] VideoContentCoordinate23_Y;

			/// <summary>
			/// 摄像头2叠加内容4X坐标
			/// </summary>
			[MarshalAs(UnmanagedType.ByValArray, SizeConst = 2)]
			public byte[] VideoContentCoordinate24_X;

			/// <summary>
			/// 摄像头2叠加内容4X坐标
			/// </summary>
			[MarshalAs(UnmanagedType.ByValArray, SizeConst = 2)]
			public byte[] VideoContentCoordinate24_Y;

			#endregion

			#region 水温相关配置
			/// <summary>
			/// 水温开关状态
			/// </summary>
			public byte WaterTemperature_Enable;

			/// <summary>
			/// 水温通讯地址
			/// </summary>
			public byte WaterTemperatureAddr;

			/// <summary>
			/// 水温数据来源
			/// </summary>
			public byte WaterTemperatureSources;
			#endregion

			#region 流量积算功能相关配置
			/// <summary>
			/// 流量积算功能开关状态
			/// </summary>
			public byte WaterFlowCount_Enable;

			/// <summary>
			///流量积算水位计算来源  0："水位计", 1："水位计+流速", 2："水位计+闸位", 3："水位计+流量计" , 4："流量计"
			/// </summary>
			[MarshalAs(UnmanagedType.ByValArray, SizeConst = 2)]
			public byte[] WaterFlowCountSelect;

			/// <summary>
			/// 流量积算流量槽断面选择
			/// </summary>
			[MarshalAs(UnmanagedType.ByValArray, SizeConst = 2)]
			public byte[] WaterFlowSectionSelect;

			///// <summary>
			///// 流量积算流量计安装高度
			///// </summary>
			//[MarshalAs(UnmanagedType.ByValArray, SizeConst = 2)]
			//public ushort[] WaterFlowHeights;

			/// <summary>
			/// 流量积算1流量校正
			/// </summary>
			[MarshalAs(UnmanagedType.ByValArray, SizeConst = 2)]
			public byte[] WaterFlowCorrection1;

			/// <summary>
			/// 流量积算2流量校正
			/// </summary>
			[MarshalAs(UnmanagedType.ByValArray, SizeConst = 2)]
			public byte[] WaterFlowCorrection2;

			/// <summary>
			/// 流量积算1淤积深度
			/// </summary>
			[MarshalAs(UnmanagedType.ByValArray, SizeConst = 2)]
			public byte[] WaterFlowSiltationDepth1;

			/// <summary>
			/// 流量积算2淤积深度
			/// </summary>
			[MarshalAs(UnmanagedType.ByValArray, SizeConst = 2)]
			public byte[] WaterFlowSiltationDepth2;

			/// <summary>
			/// 流量积算1断面相关参数1
			/// </summary>
			[MarshalAs(UnmanagedType.ByValArray, SizeConst = 2)]
			public byte[] WaterFlowParameter11;

			/// <summary>
			/// 流量积算1断面相关参数2
			/// </summary>
			[MarshalAs(UnmanagedType.ByValArray, SizeConst = 2)]
			public byte[] WaterFlowParameter12;

			/// <summary>
			/// 流量积算1断面相关参数3
			/// </summary>
			[MarshalAs(UnmanagedType.ByValArray, SizeConst = 2)]
			public byte[] WaterFlowParameter13;

			/// <summary>
			/// 流量积算1断面相关参数4
			/// </summary>
			[MarshalAs(UnmanagedType.ByValArray, SizeConst = 2)]
			public byte[] WaterFlowParameter14;

			/// <summary>
			/// 流量积算2断面相关参数1
			/// </summary>
			[MarshalAs(UnmanagedType.ByValArray, SizeConst = 2)]
			public byte[] WaterFlowParameter21;

			/// <summary>
			/// 流量积算2断面相关参数2
			/// </summary>
			[MarshalAs(UnmanagedType.ByValArray, SizeConst = 2)]
			public byte[] WaterFlowParameter22;

			/// <summary>
			/// 流量积算2断面相关参数3
			/// </summary>
			[MarshalAs(UnmanagedType.ByValArray, SizeConst = 2)]
			public byte[] WaterFlowParameter23;

			/// <summary>
			/// 流量积算2断面相关参数4
			/// </summary>
			[MarshalAs(UnmanagedType.ByValArray, SizeConst = 2)]
			public byte[] WaterFlowParameter24;

			/// <summary>
			/// 堰槽截面表高度分辨率,总共256个点，1-100cm可设置
			/// </summary>
			[MarshalAs(UnmanagedType.ByValArray, SizeConst = 2)]
			public byte[] WaterFlowSectionHeightResolution;

			/// <summary>
			/// 流量显示类型，0:瞬时流量(m3/s),1:小时水量(m3/h)
			/// </summary>
			[MarshalAs(UnmanagedType.ByValArray, SizeConst = 2)]
			public byte[] WaterFlowShowType;

			/// <summary>
			/// 流量精度选择，0:1L/h，1:1m3/h
			/// </summary>
			[MarshalAs(UnmanagedType.ByValArray, SizeConst = 2)]
			public byte[] WaterFlowAccuracy;

			/// <summary>
			/// 累计流量开关，0:关闭，1:开启
			/// </summary>
			[MarshalAs(UnmanagedType.ByValArray, SizeConst = 2)]
			public byte[] WaterFlowCumulativeSwitch;

			/// <summary>
			/// 流量积算1累计流量
			/// </summary>
			[MarshalAs(UnmanagedType.ByValArray, SizeConst = 4)]
			public byte[] WaterFlowTotal1;

			/// <summary>
			/// 流量积算2累计流量
			/// </summary>
			[MarshalAs(UnmanagedType.ByValArray, SizeConst = 4)]
			public byte[] WaterFlowTotal2;

			/// <summary>
			/// 双向流量支持，0:关闭，1:开启
			/// </summary>
			[MarshalAs(UnmanagedType.ByValArray, SizeConst = 2)]
			public byte[] WaterFlowTwoway;

			/// <summary>
			/// 流量滤波0-64
			/// </summary>
			[MarshalAs(UnmanagedType.ByValArray, SizeConst = 2)]
			public byte[] WaterFlowWaveFiltering;

            /// <summary>
            /// 流量计1基准水位,有符号,单位mm
            /// </summary>
            [MarshalAs(UnmanagedType.ByValArray, SizeConst = 4)]
            public byte[] FlowmeterBaseLevel1;

            /// <summary>
            /// 流量计2基准水位,有符号,单位mm
            /// </summary>
            [MarshalAs(UnmanagedType.ByValArray, SizeConst = 4)]
            public byte[] FlowmeterBaseLevel2;
			#endregion

			#region 多流速相关配置
			/// <summary>
			/// 多流速仪开关状态
			/// </summary>
			public byte MultiSpeed_Enable;

			/// <summary>
			/// 多流速仪设备选择
			/// </summary>
			public byte MultiSpeedDeviceSelect;

			/// <summary>
			/// 多流速仪地址
			/// </summary>
			[MarshalAs(UnmanagedType.ByValArray, SizeConst = 5)]
			public byte[] MultiSpeed_Addr;

			/// <summary>
			/// 流速仪1截距,有符号
			/// </summary>
			[MarshalAs(UnmanagedType.ByValArray, SizeConst = 4)]
			public byte[] MultiSpeedDeviation1;

			/// <summary>
			/// 流速仪2截距,有符号
			/// </summary>
			[MarshalAs(UnmanagedType.ByValArray, SizeConst = 4)]
			public byte[] MultiSpeedDeviation2;

			/// <summary>
			/// 流速仪3截距,有符号
			/// </summary>
			[MarshalAs(UnmanagedType.ByValArray, SizeConst = 4)]
			public byte[] MultiSpeedDeviation3;

			/// <summary>
			/// 流速仪4截距,有符号
			/// </summary>
			[MarshalAs(UnmanagedType.ByValArray, SizeConst = 4)]
			public byte[] MultiSpeedDeviation4;

			/// <summary>
			/// 流速仪5截距,有符号
			/// </summary>
			[MarshalAs(UnmanagedType.ByValArray, SizeConst = 4)]
			public byte[] MultiSpeedDeviation5;

			/// <summary>
			/// 流速仪1斜率
			/// </summary>
			[MarshalAs(UnmanagedType.ByValArray, SizeConst = 4)]
			public byte[] MultiSpeedRatio1;

			/// <summary>
			/// 流速仪2斜率
			/// </summary>
			[MarshalAs(UnmanagedType.ByValArray, SizeConst = 4)]
			public byte[] MultiSpeedRatio2;

			/// <summary>
			/// 流速仪3斜率
			/// </summary>
			[MarshalAs(UnmanagedType.ByValArray, SizeConst = 4)]
			public byte[] MultiSpeedRatio3;

			/// <summary>
			/// 流速仪4斜率
			/// </summary>
			[MarshalAs(UnmanagedType.ByValArray, SizeConst = 4)]
			public byte[] MultiSpeedRatio4;

			/// <summary>
			/// 流速仪5斜率
			/// </summary>
			[MarshalAs(UnmanagedType.ByValArray, SizeConst = 4)]
			public byte[] MultiSpeedRatio5;

			/// <summary>
			/// 多流速仪总个数
			/// </summary>
			public byte MultiSpeed_Nums;

			/// <summary>
			///多流速水位计设备选择
			/// </summary>
			public byte MultiSpeedWaterLevelDeviceSelect;

			/// <summary>
			/// 多流速水位计地址
			/// </summary>
			public byte MultiSpeedWaterLevel_Addr;

			/// <summary>
			/// 多流速水位计安装高度
			/// </summary>
			[MarshalAs(UnmanagedType.ByValArray, SizeConst = 4)]
			public byte[] MultiSpeedWaterLevelHight;

			/// <summary>
			/// 多流速水位计基准水位,有符号
			/// </summary>
			[MarshalAs(UnmanagedType.ByValArray, SizeConst = 4)]
			public byte[] MultiSpeedWaterBaseLevel;

			/// <summary>
			/// 多流速水位截距,有符号
			/// </summary>
			[MarshalAs(UnmanagedType.ByValArray, SizeConst = 4)]
			public byte[] MultiSpeedWaterCorrectionLevel;

			/// <summary>
			/// 多流速水位斜率
			/// </summary>
			[MarshalAs(UnmanagedType.ByValArray, SizeConst = 4)]
			public byte[] MultiSpeedWaterCorrParame;
			#endregion

			#region 土壤温湿度相关配置
			/// <summary>
			/// 土壤温湿度开关[最多支持8路土壤温湿度传感器]
			/// </summary>
			public byte SoilTempHumi_Enable;

			/// <summary>
			/// 土壤温湿度传感器型号选择
			/// </summary>
			[MarshalAs(UnmanagedType.ByValArray, SizeConst = 8)]
			public byte[] SoilTempHumi_Select;

			/// <summary>
			/// 土壤温湿度地址
			/// </summary>
			[MarshalAs(UnmanagedType.ByValArray, SizeConst = 8)]
			public byte[] SoilTempHumi_Addr;
			#endregion

			#region 渗压力相关配置
			/// <summary>
			/// 渗压力传感器开关[最多支持8路]
			/// </summary>
			public byte OsmoticPressure_Enable;

			/// <summary>
			/// 渗压力传感器型号选择
			/// </summary>
			[MarshalAs(UnmanagedType.ByValArray, SizeConst = 8)]
			public byte[] OsmoticPressure_Select;

			/// <summary>
			/// 渗压力传感器地址
			/// </summary>
			[MarshalAs(UnmanagedType.ByValArray, SizeConst = 8)]
			public byte[] OsmoticPressure_Addr;
			#endregion

			/// <summary>
			/// RTU-modbus从机地址
			/// </summary>
			public byte ModbusSlaveAddr;

			/// <summary>
			/// RS485-3端口功能((0x00:关闭,0x01:迪文屏功能,0x02:modbus从机,0x03:LCD点阵屏))
			/// </summary>
			public byte Function_485_3;


			#region 4-20mA相关配置
			/// <summary>
			/// 4~20mA输出模块使能开关
			/// </summary>
			public byte IoutputModule_Enable;

			/// <summary>
			/// 4~20mA输出模块地址
			/// </summary>
			public byte IoutputModule_Addr;

			/// <summary>
			/// 4~20mA输出模块型号选择
			/// </summary>
			public byte IoutputModule_DeviceSelect;

			/// <summary>
			/// 4~20mA输出模块数据源选择 0:关闭;1:瞬时流量1(m3/s),2:瞬时流量2(m3/s),3:流速1(m/s),4:流速2(m/s),5:水位1(m),6:水位2(m)
			/// </summary>
			[MarshalAs(UnmanagedType.ByValArray, SizeConst = 4)]
			public byte[] IoutputModule_DataSelect;

			/// <summary>
			/// 通道1输出4mA对应值
			/// </summary>
			[MarshalAs(UnmanagedType.ByValArray, SizeConst = 4)]
			public byte[] IoutputModule_4mAValue1;

			/// <summary>
			/// 通道2输出4mA对应值
			/// </summary>
			[MarshalAs(UnmanagedType.ByValArray, SizeConst = 4)]
			public byte[] IoutputModule_4mAValue2;

			/// <summary>
			/// 通道3输出4mA对应值
			/// </summary>
			[MarshalAs(UnmanagedType.ByValArray, SizeConst = 4)]
			public byte[] IoutputModule_4mAValue3;

			/// <summary>
			/// 通道4输出4mA对应值
			/// </summary>
			[MarshalAs(UnmanagedType.ByValArray, SizeConst = 4)]
			public byte[] IoutputModule_4mAValue4;

			/// <summary>
			/// 通道1输出20mA对应值
			/// </summary>
			[MarshalAs(UnmanagedType.ByValArray, SizeConst = 4)]
			public byte[] IoutputModule_20mAValue1;

			/// <summary>
			/// 通道2输出20mA对应值
			/// </summary>
			[MarshalAs(UnmanagedType.ByValArray, SizeConst = 4)]
			public byte[] IoutputModule_20mAValue2;

			/// <summary>
			/// 通道3输出20mA对应值
			/// </summary>
			[MarshalAs(UnmanagedType.ByValArray, SizeConst = 4)]
			public byte[] IoutputModule_20mAValue3;

			/// <summary>
			/// 通道4输出20mA对应值
			/// </summary>
			[MarshalAs(UnmanagedType.ByValArray, SizeConst = 4)]
			public byte[] IoutputModule_20mAValue4;

			/// <summary>
			/// 4~20mA输入模块使能开关
			/// </summary>
			public byte Iinput_Enable;

			/// <summary>
			/// 4~20mA输出模块数据源选择 0:关闭,1:水位1(m),2:水位2(m),3:流速1(m/s),4:流速2(m/s),5.瞬时流量1(m3/s),6:瞬时流量2(m3/s)
			/// </summary>
			[MarshalAs(UnmanagedType.ByValArray, SizeConst = 2)]
			public byte[] Iin_DataSelect;

			/// <summary>
			/// 通道1输入4mA对应值
			/// </summary>
			[MarshalAs(UnmanagedType.ByValArray, SizeConst = 4)]
			public byte[] Iin_4mAValue1;

			/// <summary>
			/// 通道2输入4mA对应值
			/// </summary>
			[MarshalAs(UnmanagedType.ByValArray, SizeConst = 4)]
			public byte[] Iin_4mAValue2;

			/// <summary>
			/// 通道1输入20mA对应值
			/// </summary>
			[MarshalAs(UnmanagedType.ByValArray, SizeConst = 4)]
			public byte[] Iin_20mAValue1;

			/// <summary>
			/// 通道2输入20mA对应值
			/// </summary>
			[MarshalAs(UnmanagedType.ByValArray, SizeConst = 4)]
			public byte[] Iin_20mAValue2;

			#endregion

			#region 气象相关配置
			/// <summary>
			/// 风速开关
			/// </summary>
			public byte WindSpeed_Enable;

			/// <summary>
			/// 风速型号选择
			/// </summary>
			public byte WindSpeed_Select;

			/// <summary>
			/// 风速地址
			/// </summary>
			public byte WindSpeed_Addr;

			/// <summary>
			/// 风向开关
			/// </summary>
			public byte WindDir_Enable;

			/// <summary>
			/// 风向型号选择
			/// </summary>
			public byte WindDir_Select;

			/// <summary>
			/// 风向地址
			/// </summary>
			public byte WindDir_Addr;
			#endregion

			/// <summary>
			/// 在线ORP传感器通信地址
			/// </summary>
			public byte WaterQuality_ORP_Addr;

			/// <summary>
			/// 大气温湿压开关
			/// </summary>
			public byte Atmosphere_Enable;

			/// <summary>
			/// 大气温湿压选择
			/// </summary>
			public byte Atmosphere_Select;

			/// <summary>
			/// 大气温湿压地址
			/// </summary>
			public byte Atmosphere_Addr;

			/// <summary>
			/// PM传感器 GAS-PM(二合一)开关
			/// </summary>
			public byte PmGas_Enable;

			/// <summary>
			/// GAS-PM(二合一)选择
			/// </summary>
			public byte PmGas_Select;

			/// <summary>
			/// GAS-PM(二合一)地址
			/// </summary>
			public byte PmGas_Addr;

			/// <summary>
			/// PM2.5 开关
			/// </summary>
			public byte Pm25_Enable;

			/// <summary>
			/// PM2.5 选择
			/// </summary>
			public byte Pm25_Select;

			/// <summary>
			/// PM2.5地址
			/// </summary>
			public byte Pm25_Addr;

			/// <summary>
			/// PM10开关
			/// </summary>
			public byte Pm10_Enable;

			/// <summary>
			/// PM10选择
			/// </summary>
			public byte Pm10_Select;

			/// <summary>
			/// PM10地址
			/// </summary>
			public byte Pm10_Addr;

            /// <summary>
            /// 最小工作电压
            /// </summary>
            public byte Volt_work_min;

            /// <summary>
            /// 气象站（七要素）开关
            /// </summary>
            public byte Multi_Weather_Enable;
			
            /// <summary>
            /// 气象站（七要素）地址
            /// </summary>
            public byte Multi_Weather_Addr;

            /// <summary>
            /// 预留数据长度 265
            /// </summary>
            [MarshalAs(UnmanagedType.ByValArray, SizeConst = 250)]
			public byte[] ReservedData;
		}
	}
}